{% extends "base.html" %}

{% block title %}Backup - Dashboard{% endblock %}

{% block content %}
{% for model, backups in groups %}
<h2>{{ model }} backups</h2>
<ul>{% for backup in backups %}
<li><a href="{% url backups.views.download backup.key.name %}">{{ backup.key.name }}</a>
({{ backup.keys|length }} {{ model|lower }}{{ backup.keys|length|pluralize }},
{{ backup.zipfile|length|filesizeformat }})</li>{% endfor %}
</ul>
{% endfor %}
{% endblock content %}
